import request from '@/utils/request'

// 充电桩月度排名---------------------------
export function getStationMonthRanks() {
  return request({
    url: '/stats/station_month_rank/',
    method: 'GET',
  })
}

export function getTodayChargingCounts() {
  return request({
    url: '/stats/today_count_stats/',
    method: 'GET',
  })
}


export function getTodayChargingReadings() {
  return request({
    url: '/stats/today_readings_stats/',
    method: 'GET',
  })
}

export function getTodayChargingMoney() {
  return request({
    url: '/stats/today_money_stats/',
    method: 'GET',
  })
}
// 电桩利用率
export function getTodayPileChargingUseRatio() {
  return request({
    url: '/stats/today_use_ratio/',
    method: 'GET',
  })
}
// 电桩实时状态
export function getPileRealTimeStatus() {
  return request({
    url: '/stats/pile_real_time_status/',
    method: 'GET',
  })
}

///电站月年收入统计
export function getStationMoneyStats() {
  return request({
    url: '/stats/month_year_money_stats/',
    method: 'GET',
  })
}

///今日数据统计
export function getTodayDataStats() {
  return request({
    url: '/stats/today_stats/',
    method: 'GET',
  })
}


///电站\电桩\功率统计
export function getStationPileStats() {
  return request({
    url: '/stats/station_pile_stats/',
    method: 'GET',
  })
}
